/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package instantmessengercpsc360.server;

import java.util.EventObject;

/**
 *
 * @author nicholas
 */
public class ConvUpdateEvent extends EventObject {
    public ConvUpdateEvent(ClientWrapper source, ActionType t) {
        super(source);
        action = t;
    }
    
    protected ActionType action;
    public enum ActionType {
        add, remove
    }
    
    public ActionType getAction()
    {
        return action;
    }

    @Override
    public ClientWrapper getSource() {
        return (ClientWrapper)source;
    }
}
